Clear Method

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes all the keys and values within this view from the underlying OrderedMultiDictionary.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed void Clear()
Visual Basic (Declaration)
Public Overrides NotOverridable Sub Clear
Visual C++
public:
virtual void Clear () override sealed

Examples

The following removes all the keys that start with "A" from an OrderedMultiDictionary.
 Copy imageCopy Code
            dictionary.Range("A", "B").Clear();
            

See Also